projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f4fada
)
(XTread_socket): Generate SELECT_WINDOW_EVENTs only for Emacs windows.
author
Pavel Janík
<Pavel@Janik.cz>
Mon, 1 Apr 2002 16:55:33 +0000
(16:55 +0000)
committer
Pavel Janík
<Pavel@Janik.cz>
Mon, 1 Apr 2002 16:55:33 +0000
(16:55 +0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 73e987531a935afa2761d34d71d48192e18daa86..7962d1b4d53b1bb5b26965c9e7005caee5f8a32a 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-10890,7
+10890,8
@@
XTread_socket (sd, bufp, numchars, expected)
/* Window will be selected only when it is not selected now and
last mouse movement event was not in it. Minibuffer window
will be selected iff it is active. */
- if (!EQ (window, last_window)
+ if (WINDOWP(window)
+ && !EQ (window, last_window)
&& !EQ (window, selected_window)
&& numchars > 0)
{